Mixpanel Agent working check

James Peret 7 年之前
父节点
当前提交
4f5d2152e5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/models/agents/mixpanel_agent.rb

+ 1 - 1
app/models/agents/mixpanel_agent.rb

@@ -47,7 +47,7 @@ module Agents
47 47
     MD
48 48
 
49 49
     def working?
50
-
50
+      received_event_without_error? && !recent_error_logs?
51 51
     end
52 52
 
53 53
     def validate_options